package Box2D.Dynamics
{
	import Box2D.Common.Math.b2Vec2;
	import Box2D.Common.b2Wrapper;
	
	public class b2RayCastCallback extends b2Wrapper
	{
		public function b2RayCastCallback()
		{
			super(callDirect('b2RayCastCallback_new',this));
		}
		public function cReportFixture(fixture:b2Fixture,pointPtr:Object,normalPtr:Object,fraction:Number):Number{
			return ReportFixture(fixture,new b2Vec2(0,0,pointPtr),new b2Vec2(0,0,normalPtr),fraction);
		}
		public virtual function ReportFixture(fixture:b2Fixture,point:b2Vec2,normal:b2Vec2,fraction:Number):Number
		{
			return fraction;
		}
	}
}